package com.leyou.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leyou.auth.dto.UserDetail;
import com.leyou.user.dto.UserDTO;
import com.leyou.user.entity.User;

/**
 * @author GL160601@163.com
 * @date 2020/12/16 14:23
 */
public interface UserService extends IService<User> {

    Boolean dataIsExists(String data, Integer type);

    void registUser(User user, String code);

    void SendMsg(String phone);

    UserDTO queryUser(String username, String password);

    UserDetail checkLogin(String token);
}
